<template>
  <div>
    <Demo v-if="isShow">
    </Demo>
    <button @click="isShow = false">点我销毁</button>
  </div>
</template>

<script>
import Demo from './components/Demo.vue'
export default {
  name: 'VueDay5App',
  components: {
   Demo
  },

  data() {
    return {
      isShow:true
      
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>